
package com.qf.model;

import java.util.Map;

import org.apache.commons.collections.map.HashedMap;

public class Cart {
	private Map<String,CartItem> cartItem = new HashedMap();
	private double total;
	public Map<String, CartItem> getCartItem() {
	
		return cartItem;
	}
	public void setCartItem(Map<String, CartItem> cartItem) {
	
		this.cartItem = cartItem;
	}
	public double getTotal() {
	
		return total;
	}
	public void setTotal(double total) {
	
		this.total = total;
	}
	@Override
	public String toString() {
		return "Cart [cartItem=" + cartItem + ", total=" + total + "]";
	}
	public Cart(Map<String, CartItem> cartItem, double total) {
		super();
		this.cartItem = cartItem;
		this.total = total;
	}
	public Cart() {
		
		super();
		//TODO 
			
	}
	
	

}

	